package com.jike.noobmoney.adapter;


import android.content.Context;
import android.view.View;
import android.widget.TextView;

import com.jike.noobmoney.R;
import com.jike.noobmoney.entity.ShenHeEntity;
import com.jike.noobmoney.util.ComUtils;


/**
 * Created by kekex on 2018/9/8.
 * 审核
 */

public class ShenShuAdapter extends BaseRecyclerAdapter<ShenHeEntity.OrderlistBean> {


    private Context context;

    public ShenShuAdapter(Context context) {
        super(R.layout.item_shen_shu_list);
        this.context = context;

    }

    @Override
    protected void onBindViewHolder(SmartViewHolder holder, ShenHeEntity.OrderlistBean item, int position) {
        //审核列表 订单编号
        holder.text(R.id.tv_order_number, item.getU_id()+"");

        //订单金额
        holder.text(R.id.tv_total_money, "" + item.getMoney());

        //订单人用户
        holder.text(R.id.tv_user, "用户:" + ComUtils.jiequPhone(item.getMobile()));

        TextView tvTime = (TextView) holder.findViewById(R.id.tv_time);
        int status = item.getStatus();
       tvTime.setText("申诉时间"+item.getCreatetime()+" 对用户提交申诉");


    }

}
